﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GLaDOS {
    class Lock {
        string id = "";
        bool open = false;    //Locked/unlocked status indicator.

        public Lock(string idcode) {
            id = idcode;
        }

        public bool Lock() {
            //Code to lock the lock.

            return (open = false);
        }

        public bool Unlock() {
            //Code to unlock the lock.

            return (open = true);
        }
    }
}
